package com.scedu.springcloud.controller;

import com.scedu.springcloud.service.IMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SendMessageController {
    @Autowired
    IMessageProvider iMessageProvider;
    @GetMapping("/send")
    public String sendMessage(){

        return iMessageProvider.sendMessage();
    }
}
